//
//  DYCreateSignatureToolBar.m
//  DaYing
//
//  Created by DaYing  on 2023.
//  Copyright © 2023 DaYing . All rights reserved.
//

#import "DYCreateSignatureToolBar.h"

@implementation DYCreateSignatureToolBar

+ (id)instanceView {
    NSArray* nibView =  [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:self options:nil];
    return [nibView objectAtIndex:0];
}

- (void)awakeFromNib {
    // Initialization code
    [super awakeFromNib];
    _topButton.adjustsImageWhenHighlighted = NO;
    _bottomButton.adjustsImageWhenHighlighted = NO;
}

- (void)setData:(id)data delegate:(id)delegate {
    
}

- (IBAction)buttonAction:(UIButton *)sender {
    if (_buttonAction) {
        _buttonAction(self,sender);
    }
}

@end
